package pub.permission.domain;

import java.io.Serializable;
import java.util.List;


public class ExtSysResource implements Serializable{
    private String id;

    private String text;

    private Long parentId;

    private String name;

    private String menuUrl;

    private String menuType;

    private String iconCls;

    private Integer isLeaf;

    private String jsClassName;

    private String validStatus;

    private Boolean isValid;

    private Boolean isManageMenu;

    private String memo;

    private Integer disOrder;

    private String css1;

    private String css2;

    private List<ExtSysResource> children;
    /**
     * 用于判断当前角色是否有该资源菜单
     */
    private Boolean checkFlag;

    public ExtSysResource(){}

    public ExtSysResource(String text, Long parentId, String name, String menuUrl, String menuType, String iconCls, Integer isLeaf, String jsClassName, String validStatus, Boolean isValid) {
        this.text = text;
        this.parentId = parentId;
        this.name = name;
        this.menuUrl = menuUrl;
        this.menuType = menuType;
        this.iconCls = iconCls;
        this.isLeaf = isLeaf;
        this.jsClassName = jsClassName;
        this.validStatus = validStatus;
        this.isValid = isValid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public Integer getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(Integer isLeaf) {
        this.isLeaf = isLeaf;
    }

    public String getJsClassName() {
        return jsClassName;
    }

    public void setJsClassName(String jsClassName) {
        this.jsClassName = jsClassName;
    }

    public String getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(String validStatus) {
        this.validStatus = validStatus;
    }

    public Boolean getIsValid() {
        return isValid;
    }

    public void setIsValid(Boolean isValid) {
        this.isValid = isValid;
    }

    public List<ExtSysResource> getChildren() {
        return children;
    }

    public void setChildren(List<ExtSysResource> children) {
        this.children = children;
    }

    public Boolean getCheckFlag() {
        return checkFlag;
    }

    public void setCheckFlag(Boolean checkFlag) {
        this.checkFlag = checkFlag;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getDisOrder() {
        return disOrder;
    }

    public void setDisOrder(Integer disOrder) {
        this.disOrder = disOrder;
    }

    public String getCss1() {
        return css1;
    }

    public void setCss1(String css1) {
        this.css1 = css1;
    }

    public String getCss2() {
        return css2;
    }

    public void setCss2(String css2) {
        this.css2 = css2;
    }

    public Boolean getIsManageMenu() {
        return isManageMenu;
    }

    public void setIsManageMenu(Boolean isManageMenu) {
        this.isManageMenu = isManageMenu;
    }
}